package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminSupplier;
import com.ygqh.baby.po.AdminSupplierExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminSupplierMapper {
    int countByExample(AdminSupplierExample example);

    int deleteByExample(AdminSupplierExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminSupplier record);

    int insertSelective(AdminSupplier record);

    List<AdminSupplier> selectByExample(AdminSupplierExample example);

    AdminSupplier selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminSupplier record, @Param("example") AdminSupplierExample example);

    int updateByExample(@Param("record") AdminSupplier record, @Param("example") AdminSupplierExample example);

    int updateByPrimaryKeySelective(AdminSupplier record);

    int updateByPrimaryKey(AdminSupplier record);
    
    int countSuper(@Param ("q") String q);
    
    List<AdminSupplier> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    int checkSupplierName(@Param("supplierName") String supplierName, @Param ("id") Long id);
    
}



